/*------------------------------------------------------------------------------
 * Fortress DS
 * 
 * Copyright (c) 2008 David Panseri
 * distributed under the terms of the GNU General Public License
 -------------------------------------------------------------------------------
 *
 * Level.h
 *
 -----------------------------------------------------------------------------*/

#include <TextBackground.h>

#ifndef _LEVEL_H
#define	_LEVEL_H

class Level : public TextBackground
{
public:
    //constructors
    Level(void);
    Level(u16 height, u16 width, u8* tiles, u16 tileSize, u8* palette, u16 palSize, u16* map, u16 mapSize);

    Level* getPrevLayer(void);
    Level* getNextLayer(void);
    
    void setPrevLayer(Level *layer);
    void setNextLayer(Level *layer);
    
private:    
    Level *pPrevLayer;  //pointer to previous layer
    Level *pNextLayer;  //pointer to next layer
};

#endif	/* _LEVEL_H */

